//
//  NetWorkTool.h
//  QYer
//
//  Created by lanou on 16/8/5.
//  Copyright © 2016年 CaiZhuYu. All rights reserved.
//

typedef enum {
    GET,
    POST
} requestType;
#import <Foundation/Foundation.h>

@interface NetWorkTool : NSObject


+ (void)requstWithType:(requestType)type URLString:(NSString *)urlString parameter:(NSDictionary *)parameterDic callBack:(void(^)(NSData *data,NSError *error))callBack;



@end
